package com.sg.service.base.component;

import com.sg.dto.base.component.req.*;
import com.sg.entity.OmsUnstructuredDataRelationship;

import java.util.List;

/**
 * @author ：
 * @version 1.0
 * @date ：
 */
public interface MOmsUnstructuredDataRelationshipService {
    /**
     * 2-7-03查询文档关系详情
     */
    OmsUnstructuredDataRelationship queryUnstructuredRelationshipDetail(QueryUnstructuredRelationshipDetailReq reqDto);

    /**
     * 2-7-03删除文档关系
     */
    boolean deleteUnstructuredRelationship(String unstructuredDataRelationshipId);

    /**
     * 2-7-03查询文档关系列表
     */
    List<OmsUnstructuredDataRelationship> queryUnstructuredRelationshipList(QueryUnstructuredRelationshipListReq reqDto);

    /**
     * 2-7-03新增文档关系
     */
    String addUnstructuredRelationship(OmsUnstructuredDataRelationship omsUnstructuredDataRelationship);

    /**
     * 2-7-03批量增文档关系
     */
    boolean batchAddUnstructuredRelationship(List<OmsUnstructuredDataRelationship> omsUnstructuredDataRelationship);

    /**
     * 2-7-03批量查询文档关系By父内容id
     */
    List<OmsUnstructuredDataRelationship> batchQueryUnstructuredRelationship(BatchQueryUnstructuredRelationshipReq reqDto);

    /**
     * 2-7-03批量查询文档关系By归属内容表主键id
     */
    List<OmsUnstructuredDataRelationship> batchQueryDmAttRela(BatchQueryDmAttRelaReq reqDto);

    /**
     * 2-7-03修改文档关系
     */
    boolean updateUnstructuredRelationship(OmsUnstructuredDataRelationship omsUnstructuredDataRelationship);

    /**
     * 2-7-03批量查询文档关系by归属工作周期ID
     */
    List<OmsUnstructuredDataRelationship> batchQueryUnstructuredRelationshipByOwnWorkCycleId(BatchQueryUnstructuredRelationshipByOwnWorkCycleIdReq reqDto);

    /**
     * 2-7-03批量改文档关系
     */
    boolean batchUpdateUnstructuredRelationship(List<OmsUnstructuredDataRelationship> omsUnstructuredDataRelationship);
    //
}
